package edu.cgpi.core;

import javax.swing.UIManager;

import edu.cgpi.core.util.Desenhista;
import edu.cgpi.view.Tela;

public class Aplicacao {

	public static void main(String[] args) {
		setLookAndFeel();
		inicializar();
	}

	public static void inicializar() {
		Desenhista desenhista = new Desenhista();
		Tela tela = new Tela("CGPI", desenhista);
		tela.setVisible(true);
	}

	private static void setLookAndFeel() {
		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}